package com.gxa.modules.sys.service.impl;

import com.gxa.modules.sys.dto.PurchaseDto;
import com.gxa.modules.sys.entity.Cdkey;
import com.gxa.modules.sys.mapper.PurchaseMapper;
import com.gxa.modules.sys.service.PurchaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PurchaseServiceImpl implements PurchaseService {

    @Autowired
    private PurchaseMapper purchaseMapper;

    @Override
    public List<PurchaseDto> queryCouponPurchase(PurchaseDto purchaseDto) {

        List<PurchaseDto> purchaseDtos = this.purchaseMapper.queryCouponPurchase(purchaseDto);

        return purchaseDtos;

    }

}
